package com.xs.anxingo.server.logbak;

import ch.qos.logback.classic.PatternLayout;
import ch.qos.logback.classic.encoder.PatternLayoutEncoder;
import ch.qos.logback.classic.spi.ILoggingEvent;

import java.io.IOException;

/**
 * Created by haoxijun on 2020/1/16.
 */
public class LogBackExEncoder extends PatternLayoutEncoder {

    static {
        PatternLayout.defaultConverterMap.put("T", LogBackThreadConverter.class.getName());
    }

    /**
     * doEncode
     *
     * @param event
     * @throws IOException
     */
    @Override
    public void doEncode(ILoggingEvent event) throws IOException {
        super.doEncode(event);
    }
}
